using B.S.Requst;
using MediatR;
using B.S.Domain.BasicData.MaterialManagement.MaterialGroups;

namespace B.S.Data.MES.API.Applications.BaseData.Command.MaterialGroupCommand
{
    /// <summary>
    /// 添加物料群组命令
    /// </summary>
    public class AddMaterialGroupCommand : IRequest<APIRequst<int>>
    {
        /// <summary>
        /// 物流编码
        /// </summary>
        public string Materialcode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string Materialname { get; set; }
        /// <summary>
        /// 物料类型（单独的类型表）
        /// </summary>
        public int Materialtypeid { get; set; }
        /// <summary>
        /// 默认加工类型(练的是是工艺路线表)
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Materialdescription { get; set; }
        public string? CreateName { get; set; }
    }
}